コード例 #1
0
    // Use this for initialization
    void Start()
    {
        EventInterface ei = new SanCheckRoomEvent(8, 6, this.getEventBeginInfo(), this.getEventEndInfoMap(),
                                                  EventConstant.ENTER_EVENT, EventConstant.SANCHECK_EVENT, 1, -2, 2);

        this.setRoomEvent(ei);
        safeCabinet.GetComponent <SafeCabinet>().init(this.getXYZ());
    }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        EventInterface ei = new SanCheckRoomEvent(10, 4, this.getEventBeginInfo(), this.getEventEndInfoMap(),
                                                  EventConstant.ENTER_EVENT, EventConstant.SANCHECK_EVENT, 2, -1, 2);

        this.setRoomEvent(ei);
        bed.GetComponent <Bed>().init(this.getXYZ());
    }
コード例 #3
0
    void Start()
    {
        setLock(true);
        EventInterface ei = new SanCheckRoomEvent(7, 5, this.getEventBeginInfo(), this.getEventEndInfoMap(),
                                                  EventConstant.ENTER_EVENT, EventConstant.SANCHECK_EVENT, 1, -1, 1);

        this.setRoomEvent(ei);
        operatingTable.GetComponent <OperatingTable>().init(this.getXYZ());
    }