示例#1
0
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
 }
    //missile manager

    // Use this for initialization
    void Start()
    {
        gm = GameManager.instance;
        mc = MissileCommandManager.instance;
    }
 void Awake()
 {
     if( instance == null ) {
         instance = this;
     }
 }