示例#1
0
    protected override void Start()
    {
        base.Start();
        previewZone = PreviewZone.Instance;

        //viewPermission = new Permission(Permission.AllowType.WARNING, Permission.AccessType.OWNERONLY);

        ViewPermission = new Permission(ownerViewPermissionType, othersViewPermissionType);
    }
示例#2
0
    void Awake()
    {
        if (Instance == null)
        {
            Instance = this;
        }
        mainObject.SetActive(false);

        scrollableComponent = GetComponent <SidewayScrollable>();
        dropZoneComponent   = GetComponent <DropZone>();
    }