コード例 #1
0
    // Populates the dictionary with the preset mappings of character to integers.
    public void Start()
    {
        // Create main camera dialog object with object of focus
        _dialogCamera = gameObject.AddComponent <DialogCamera>();
        _dialogCamera.initialize(_futureFocusObject, _pastFocusObject, _offsetPosition);

        _quoteQueue = new Queue <Quote>();

        // Initialises the mapper of character names to integers. This is used to set the profile animation in the dialogue window
        InitaliseCharacterMapper();
    }
コード例 #2
0
 private void Awake()
 {
     Instance = this;
 }