예제 #1
0
        private DCLBuilderEntity AddBuilderEntityComponent(DecentralandEntity entity)
        {
            DCLBuilderEntity builderComponent = Utils.GetOrCreateComponent <DCLBuilderEntity>(entity.gameObject);

            builderComponent.SetEntity(entity);
            return(builderComponent);
        }
 private DCLBuilderEntity AddBuilderEntityComponent(IDCLEntity entity)
 {
     DCLBuilderEntity builderComponent = Utils.GetOrCreateComponent<DCLBuilderEntity>(entity.gameObject);
     builderComponent.SetEntity(entity);
     return builderComponent;
 }