public virtual void TransferProperty(Property p, PropertyHolder other) { RemoveProperty(p); other.AddProperty(p); //GameObject go = Instantiate (GameManager.Instance.FXPropertyPrefab,transform.position,Quaternion.identity); //go.GetComponent<ChaseTarget> ().Target = other.GetComponent<PhysicsSS> (); }
public override void AddProperty(Property originalP) { PropHolder.AddProperty(originalP); }
public virtual void TransferProperty(Property p, PropertyHolder other) { RemoveProperty(p); other.AddProperty(p); }