From 37fe348b2f81c0ae2596268d0e8cc1d95466ba76 Mon Sep 17 00:00:00 2001 From: excitedneon Date: Wed, 17 May 2017 01:19:19 +0300 Subject: [PATCH] Change Term.Prints' input from a string to an object --- Assets/Scripts/Console/Term.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/Scripts/Console/Term.cs b/Assets/Scripts/Console/Term.cs index 6d9195a..42a5e42 100644 --- a/Assets/Scripts/Console/Term.cs +++ b/Assets/Scripts/Console/Term.cs @@ -35,11 +35,11 @@ namespace Cyber.Console { /// See . /// /// Text. - public static void Println(string text) { + public static void Println(object text) { if (Console == null) { Debug.Log(text); } else { - Console.Println(text); + Console.Println(text.ToString()); } } @@ -47,11 +47,11 @@ namespace Cyber.Console { /// See . /// /// Text. - public static void Print(string text) { + public static void Print(object text) { if (Console == null) { Debug.Log(text); } else { - Console.Print(text); + Console.Print(text.ToString()); } }