Example #1
0
 public override Tuple <Vector3, Quaternion> GetWorldInstantiationPosition(Magic magicScript, Vector3 screenCoords)
 {
     return(magicScript.GetDefaultWorldInstantiationPosition(screenCoords));
 }
Example #2
0
        public override Tuple <Vector3, Quaternion> GetSelfInstantiationPosition(Magic magicScript, Vector3 screenCoords)
        {
            GameObject g = magicScript.gameObject;

            return(new Tuple <Vector3, Quaternion>(g.transform.position + Vector3.up * 0.1f, Quaternion.LookRotation(Vector3.up)));
        }