void Start() { RotationBehaviour = new E_FullRotation(); Level = 1; Cooldown = 2f; Damage = 5f; SetTrailColor(Color.red); }
public override bool Equals(object obj) { IRotationBehaviour behaviour = obj as IRotationBehaviour; if (behaviour == null) { return(false); } return(Equals(behaviour)); }
void Start() { RotationBehaviour = new NoRotation(); Level = 1; Cooldown = 0.5f; Damage = 25f; _hitExplosionPrefab = (GameObject) Resources.Load( "Prefabs/ParticleSystems/BulletExplosionA", typeof(GameObject)); }
public bool Equals(IRotationBehaviour behaviour) { return(behaviour.Id == Id); }
protected RotationBehaviourBaseViewModel(IRotationBehaviour model) { Model = model; }