コード例 #1
0
ファイル: enemyMove.cs プロジェクト: YxwxWh/Game-1
    void Start()
    {
        hp    = 100 * hp_m;
        speed = 0.2f;
        atk   = 1;



        //GameObject go = GameObject.FindWithTag("PlayerCamer");
        // c = go.GetComponent<FllowPlayer>();
        c    = FllowPlayer.Instance;
        boom = Resources.Load <ParticleSystem>("Boom");
    }
コード例 #2
0
 private void Awake()
 {
     Instance = this;
 }