protected override void OnSynced() { LerpTransform recvTransform = new LerpTransform(); recvTransform.position = pos; recvTransform.rotation = rot; recvTransform.timecode = timecode; m_transforms.Add(recvTransform); }
// Use this for initialization void Start() { targetSlot = GameManager.Instance.gameBoard.GetSlot(command.x, command.y); crosshairs.SetColor(crossHairColor, 0.75f); transform.position = new Vector3(0, 100, 0); transform.localScale = new Vector3(15, 15, 15); transform.eulerAngles = new Vector3(15, 90, 0); lerperTransform = GetComponent <LerpTransform>(); lerperTransform.SetTransform(targetSlot.transform, 1f); }
// Use this for initialization void Start () { targetSlot = GameManager.Instance.gameBoard.GetSlot(command.x, command.y); crosshairs.SetColor(crossHairColor, 0.75f); transform.position = new Vector3(0, 100, 0); transform.localScale = new Vector3(15, 15, 15); transform.eulerAngles = new Vector3(15, 90, 0); lerperTransform = GetComponent<LerpTransform>(); lerperTransform.SetTransform(targetSlot.transform, 1f); }
void Awake() { canvasGroup = GetComponentInChildren <CanvasGroup>(); lerpTransform = GetComponent <LerpTransform>(); flavorCanvasGroup.alpha = 0; }
void Awake() { lerper = GetComponent<LerpTransform>(); }
void Awake() { lerper = GetComponent <LerpTransform>(); }
void Awake() { canvasGroup = GetComponentInChildren<CanvasGroup>(); lerpTransform = GetComponent<LerpTransform>(); flavorCanvasGroup.alpha = 0; }