Data.BaseObjectData - robblofield/TomeboundDocs GitHub Wiki

Data.BaseObjectData

Author: Youngju Yun
Last Updated: 01/01/2024

Overview

This script stores the current Floor ID of the object in the Scene. It forms part of the "Data".

Dependencies

Contents

  • Breakdown of code
    • Variables
  • Full Code Reference

Breakdown of Code

Variables

    public int floorID;

public int floorID: It stores the current Floor ID of the object in the Scene. Floor 0 is on the left side and floor 2 is on the right side.

Full Code Reference

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BaseObjectData : MonoBehaviour
{
    public int floorID;
}