Ejemplo n.º 1
0
 void Awake()
 {
     current = this;
 }
Ejemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        damage = 50;
        cooldown = 0;

        if (!objectPool)
        {
            objectPool = BoltObjectPool.current;
        }
    }