Esempio n. 1
0
    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");
    }
Esempio n. 2
0
 private void Awake()
 {
     Instance = this;
 }