Click or drag to resize

CreateAutonomousObject_Example Class

An example of how to use create an ASL_AutonomousObject. Press 'Space Bar' to instantiate an ASL_AutomousObject. In order to instatiate an ASL_AutonomousObject, you must pass a reference to the object's prefab, as a GameObject to ASL_AutonomousObjectHandler.Instance.InstatiateAutonomousObject(). The prefab MUST be loacated in Resources.MyPrefabs
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          SimpleDemosCreateAutonomousObject_Example

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

The CreateAutonomousObject_Example type exposes the following members.

Constructors
  NameDescription
Public methodCreateAutonomousObject_Example
Initializes a new instance of the CreateAutonomousObject_Example class
Top
Methods
  NameDescription
Private methodUpdate
Top
Fields
  NameDescription
Public fieldCoinPrefab
Reference to the Prefab of the ASL_AutonomousObject.
Top
See Also