コード例 #1
0
        void Start()
        {
            constructionContainer = GetComponent <ConstructionContainer>();

            canBuild = true;

            type = ConstructableType.BRICK;             //test
        }
コード例 #2
0
        public bool Compare(IConstructionProject project, ConstructableType targetType)
        {
            this.found      = false;
            this.targetType = targetType;
            project.Accept(this);

            return(this.found);
        }
コード例 #3
0
 public InteractionRestrictionConstructableType(ConstructableType type) => this.Type = type;
コード例 #4
0
 public StaticProject(ConstructableType type)
 {
     this.Type = type;
 }