void Start() { LClass.Init(); load = GameObject.Find("UICanvas").GetComponentInChildren <LoadingScreen>(true); if (startConfig != null && startConfig["type"] == "load") { StartCoroutine(LoadGame()); return; } StartCoroutine(BeginNewGame()); }
/// <summary> /// Converts to host language type to a fluentscript type. /// </summary> /// <param name="hostLangType"></param> /// <returns></returns> public static LObject ConvertToLangUnit(object obj) { var type = obj.GetType(); var lclassType = new LClassType(); lclassType.Name = type.Name; lclassType.FullName = type.FullName; lclassType.DataType = type; lclassType.TypeVal = TypeConstants.Unit; var lclass = new LClass(obj); lclass.Type = lclassType; return(lclass); }
internal FrameTiles(Tile lineX, Tile lineY, Tile lSide, Tile lUp, Tile lDown, Tile cornerUp, Tile cornerDown) { var def = new Tile(); if (lineX == def || lineY == def || lSide == def || lUp == def || lDown == def || cornerUp == def || cornerDown == def) { Initialized = false; return; } Line = new LineClass(lineX, lineY); L = new LClass(lSide, lUp, lDown); Corner = new CornerClass(cornerUp, cornerDown); Initialized = true; }
public void TestMethod1() { var c = new LClass(); c.Do(); }
public void Start() { LClass.Init(); StartCoroutine(Start2()); }