private void ManageDemon()
 {
     SetDemonVariables(actives.ActiveDemon);
     demon.GetComponent <DemonController>().ResetAssociations();
     actives.SetActiveShrine(null);
     demonLaunchData.Rigidbody.drag = demonLaunchData.DefaultDrag;
     demon.SetActive(false);
 }
예제 #2
0
 public new void OnPointerDown(PointerEventData data)
 {
     base.OnPointerDown(data);
     actives.SetActiveDemon(host);
     if (controller.MyVessel != null && controller.MyVessel.ReportSelf() is ShrineController)
     {
         actives.SetActiveShrine(controller.MyVessel as ShrineController);
     }
 }