コード例 #1
0
ファイル: EventManager.cs プロジェクト: loquat1208/Microbot
 void Awake( )
 {
     _operation               = GameObject.Find("GameManager").GetComponent <Operation>( );
     _player_mgr              = GameObject.Find("Player").GetComponent <PlayerManager>( );
     _camara_mgr              = gameObject.GetComponent <CameraManager>( );
     _coal_mgr                = GameObject.Find("SEKITAN").GetComponent <CoalManager>( );
     _coal_fan_mgr            = GameObject.Find("BigFan").GetComponent <CoalFanManager>( );
     _propeller_mgr           = GameObject.Find("Propera").GetComponent <PropellerManager>( );
     _propeller_fan_mgr       = GameObject.Find("SmallFan").GetComponent <PropellerFanManager>( );
     _jack_mgr                = GameObject.Find("Jack").GetComponent <JackManager>( );
     _total_object_play_count = 0;
 }
コード例 #2
0
ファイル: EventManager.cs プロジェクト: tcagame/microbotics
 void Awake( )
 {
     _operation = GameObject.Find( "GameManager" ).GetComponent< Operation >( );
     _player_mgr = GameObject.Find( "Player" ).GetComponent< PlayerManager >( );
     _camara_mgr = gameObject.GetComponent< CameraManager >( );
     _coal_mgr = GameObject.Find( "SEKITAN" ).GetComponent< CoalManager >( );
     _coal_fan_mgr = GameObject.Find( "BigFan" ).GetComponent< CoalFanManager >( );
     _propeller_mgr = GameObject.Find( "Propera" ).GetComponent< PropellerManager >( );
     _propeller_fan_mgr = GameObject.Find( "SmallFan" ).GetComponent< PropellerFanManager >( );
     _jack_mgr = GameObject.Find( "Jack" ).GetComponent< JackManager >( );
     _total_object_play_count = 0;
 }