Click or drag to resize

ASL_AutonomousObjectHandler Class

ASL_AutonomousObjectHandler: ASL_AutonomousObjectHanlder contains methods for instatiating ASL_AutonomousObjects. It also handles changes to world position, rotation and scale for ASL_AutonomousObjects.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          ASLASL_AutonomousObjectHandler

Namespace:  ASL
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class ASL_AutonomousObjectHandler : MonoBehaviour

The ASL_AutonomousObjectHandler type exposes the following members.

Constructors
  NameDescription
Public methodASL_AutonomousObjectHandler
Initializes a new instance of the ASL_AutonomousObjectHandler class
Top
Properties
  NameDescription
Public propertyStatic memberInstance
Top
Methods
  NameDescription
Public methodAddAutonomousObject
Adds aSLObject to the list of objects to be handled by this object. NOTE: This list will be reset on SceneLoad.
Private methodAwake
Private methodcheckIfOwnerOfObject
Public methodIncrementWorldPosition(Int32, Vector3)
If caller is the owner of the object indicated by index, translates the object incrementally via World Position.
Public methodIncrementWorldPosition(Int32, Vector3, GameLiftManagerOpFunctionCallback)
If caller is the owner of the object indicated by index, translates the object incrementally via World Position. Will call callback once the operation has been completed.
Public methodIncrementWorldRotation(Int32, Quaternion)
If caller is the owner of the object indicated by index, rotates the object incrementally via World Rotation.
Public methodIncrementWorldRotation(Int32, Quaternion, GameLiftManagerOpFunctionCallback)
If caller is the owner of the object indicated by index, rotates the object incrementally via World Rotation. Will call callback once the operation has been completed.
Public methodIncrementWorldScale(Int32, Vector3)
If caller is the owner of the object indicated by index, scales the object incrementally via World Scale.
Public methodIncrementWorldScale(Int32, Vector3, GameLiftManagerOpFunctionCallback)
If caller is the owner of the object indicated by index, scales the object incrementally via World Scale. Will call callback once the operation has been completed.
Public methodInstantiateAutonomousObject(GameObject)
Instatiates an ASL_AutonomousObject based on prefab. The caller of this function will be set to the owner of the instatiated ASL_AutonomousObject. The object is created using the prefab's transform.
Public methodInstantiateAutonomousObject(GameObject, ASL_AutonomousObjectHandlerReturnInstantatedObjectCallback)
Instatiates an ASL_AutonomousObject based on prefab. The caller of this function will be set to the owner of the instatiated ASL_AutonomousObject. The object is created using the prefab's transform. Calls callbackFunction once the object has been instantiated, with the instatiated GameObject as the argument.
Public methodInstantiateAutonomousObject(GameObject, Vector3, Quaternion)
Instatiates an ASL_AutonomousObject based on prefab. The caller of this function will be set to the owner of the instatiated ASL_AutonomousObject. The object is created at position pos, and rotation rotation.
Public methodInstantiateAutonomousObject(GameObject, Vector3, Quaternion, ASL_AutonomousObjectHandlerReturnInstantatedObjectCallback)
Instatiates an ASL_AutonomousObject based on prefab. The caller of this function will be set to the owner of the instatiated ASL_AutonomousObject. The object is created at position pos, and rotation rotation. Calls callbackFunction once the object has been instantiated, with the instatiated GameObject as the argument.
Public methodInstantiateAutonomousObject(GameObject, Vector3, Quaternion, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback, ASLObjectFloatCallback)
Instatiates an ASL_AutonomousObject based on prefab. The caller of this function will be set to the owner of the instatiated ASL_AutonomousObject. The object is created at position pos, and rotation rotation. Calls callbackFunction once the object has been instantiated, with the instatiated GameObject as the argument. The ASLGameObjectCreatedCallback is set to creationCallbackFunction, ClaimCancelledRecoveryCallback is set to claimRecoveryFunction, and the FloatCallback is set to floatFunciton.
Public methodInstantiateAutonomousObject(GameObject, Vector3, Quaternion, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback, ASLObjectFloatCallback, ASL_AutonomousObjectHandlerReturnInstantatedObjectCallback)
Instatiates an ASL_AutonomousObject based on prefab. The caller of this function will be set to the owner of the instatiated ASL_AutonomousObject. The object is created at position pos, and rotation rotation. Calls callbackFunction once the object has been instantiated, with the instatiated GameObject as the argument. The ASLGameObjectCreatedCallback is set to creationCallbackFunction, ClaimCancelledRecoveryCallback is set to claimRecoveryFunction, and the FloatCallback is set to floatFunciton.
Private methodOnLevelWasLoaded
Public methodReasignObjects
Public methodRemoveAutonomousObject
Removes aSLObject from the list of objects handled by this object.
Public methodSetWorldPosition(Int32, Vector3)
If caller is the owner of the object indicated by index, the object's position will be set to WorldPosition via World Pososition.
Public methodSetWorldPosition(Int32, Vector3, GameLiftManagerOpFunctionCallback)
If caller is the owner of the object indicated by index, the object's position will be set to WorldPosition via World Pososition. Calls callback once the opperation is complete.
Public methodSetWorldRotation(Int32, Quaternion)
If the caller is the owner of the object indeicated by index, the object's roatation will be set to WorldRotation via World Rotation.
Public methodSetWorldRotation(Int32, Quaternion, GameLiftManagerOpFunctionCallback)
If the caller is the owner of the object indeicated by index, the object's roatation will be set to WorldRotation via World Rotation. Calls callback once the opperation is complete.
Public methodSetWorldScale(Int32, Vector3)
If the caller is the owner of the object indeicated by index, the object's scale will be set to WorldScale via World Scale.
Public methodSetWorldScale(Int32, Vector3, GameLiftManagerOpFunctionCallback)
If the caller is the owner of the object indeicated by index, the object's scale will be set to WorldScale via World Scale. Calls callback once the opperation is complete.
Private methodStart
Private methodUpdate
Top
Fields
See Also

Reference