Exemplo n.º 1
0
 protected virtual void Awake()
 {
     if (_pointableElement != null)
     {
         PointableElement = _pointableElement as IPointableElement;
     }
 }
 public void InjectPointableElement(IPointableElement pointableElement)
 {
     PointableElement  = pointableElement;
     _pointableElement = pointableElement as MonoBehaviour;
 }
 public void InjectAllAutoMoveTowardsTargetProvider(IPointableElement pointableElement)
 {
     InjectPointableElement(pointableElement);
 }
 protected virtual void Awake()
 {
     PointableElement = _pointableElement as IPointableElement;
 }
 public AutoMoveTowardsTarget(PoseTravelData travellingData, IPointableElement pointableElement)
 {
     _identifier       = UniqueIdentifier.Generate();
     _travellingData   = travellingData;
     _pointableElement = pointableElement;
 }
Exemplo n.º 6
0
 public void InjectOptionalForwardElement(IPointableElement forwardElement)
 {
     ForwardElement  = forwardElement;
     _forwardElement = forwardElement as MonoBehaviour;
 }