public void Fire() { //m_LinkInGameTank.CreateBullet(this); InGameTank.Instance().CreateBullet(this); ; }
public static InGameTank Instance() { if (m_Instance == null) { m_Instance = new InGameTank(); } return(m_Instance); }
public virtual void InitTankData(Vector2 p_initpos , E_Driection p_direction , ConsoleColor p_color = ConsoleColor.Green //, Stage p_stagedata //, InGameTank p_tankmanager ) { m_DirectionVal = p_direction; m_CurrentStageData = InGameTank.Instance().m_InGameStage;// p_stagedata; CurrentPos = p_initpos; HP = 2; m_LinkInGameTank = InGameTank.GetI; m_Color = p_color; }
static void Main(string[] args) { //UnityCoroutinue.GetI.StartCoroutinue(); //(UnityCoroutinue.GetI as UnityCoroutinue).StartCoroutinue(); //TestCoroutinue testcoroutinue = new TestCoroutinue(); ////testcoroutinue.Step02Init(); //testcoroutinue.Step03Init(); //// 참고용 소스 //TestStep02Coroutinue step02 = new TestStep02Coroutinue(); //step02.InitSetting01(); //CoroutinueManager manager = CoroutinueManager.GetI; ////UnityCoroutinue coroutinuemanager = UnityCoroutinue.GetI; //Test03_UnityCoroutinue test03 = new Test03_UnityCoroutinue(); //test03.InitSettingTestCoroutinue(); //while (true) //{ // manager.UpdateCoroutinue(); // UnityCoroutinue.GetI.LoopUpdateCoroutinue(); //} //// 참고용 소스 //while() //{ //} //TestDelegate testdelegate = new TestDelegate(); //testdelegate.TestCalc(); //TestSource2 test = new TestSource2(); //test.TestSource(); //TestSource test = new TestSource(); //test.TestData(); //InGameTank tankgame = new InGameTank(); //tankgame.InGameStart(); //InGameTank tankgame = InGameTank.Instance(); //tankgame.InGameStart(); InGameTank.Instance().InGameStart(); }