BBGamelib.CCDebug.Error C# (CSharp) Method

Error() public static method

public static Error ( string format ) : void
format string
return void
		public static void Error(string format, params object[] args){
			if(args.Length > 0)
				Debug.LogErrorFormat (format, args);
			else
				Debug.LogError(format);
		}
	}

Usage Example

Beispiel #1
0
        public void selectPage(int page)
        {
            if (page < 0 || page >= layers_.Count)
            {
                CCDebug.Error(@"CCScrollLayer#selectPage: {0} - wrong page number, out of bounds. ", page);
                return;
            }

            this.position  = this.positionForPageWithNumber(page);
            prevScreen_    = currentScreen_;
            currentScreen_ = page;
        }
All Usage Examples Of BBGamelib.CCDebug::Error