示例#1
0
 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
 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;
 }