public void OnTransformLeave(DemonElementHandler handler) { if (elementsOnButton.Contains(handler.HeldElement)) { RemoveDemonFromButton(handler.HeldElement); } }
private void FetchExternalVariables() { canvas = FindObjectOfType <Canvas>().transform; elementHandler = GetComponent <DemonElementHandler>(); if (elementHandler == null) { print("F****d it"); } }
private void FetchDemonVariables(out ElementVesselController vessel, out DemonElementHandler demon) { vessel = actives.ActiveDemon.GetComponent <DemonController>().MyVessel; demon = actives.ActiveDemon.GetComponent <DemonElementHandler>(); }
public void SetHost(GameObject value) { host = value; elementHandler = host.GetComponent <DemonElementHandler>(); controller = host.GetComponent <DemonController>(); }
public void SetDemon(DemonElementHandler demon) { myDemon = demon; }