Cozy Wather + buld systeme

This commit is contained in:
2026-07-07 16:43:51 +02:00
parent 031ac42e5d
commit 6b26ae3376
2140 changed files with 3482825 additions and 2252 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6c25172d6daa7d4438868657c79951f3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using DistantLands.Cozy;
using DistantLands.Cozy.EditorScripts;
using UnityEditor;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
public class CozyHub : EditorWindow
{
[MenuItem("Tools/Cozy: Stylized Weather 3/Open Cozy Hub")]
public static void ShowExample()
{
CozyHub wnd = GetWindow<CozyHub>();
wnd.titleContent = new GUIContent("Cozy Hub");
}
public void CreateGUI()
{
if (CozyWeather.instance)
{
ScrollView scrollView = new ScrollView();
InspectorElement inspector = new InspectorElement(CozyWeather.instance);
scrollView.Add(inspector);
rootVisualElement.Add(scrollView);
}
else
{
Tooltip tooltip = new Tooltip("No instance of COZY detected! Please set up your scene.");
rootVisualElement.Add(tooltip);
Button setupButton = new Button(() => { CozySceneTools.SetupScene(); });
setupButton.text = "Setup Scene";
rootVisualElement.Add(setupButton);
}
}
}
@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 9f74eb154f5d6fe40be1b6ea884b198e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 271742
packageName: 'COZY: Stylized Weather 3'
packageVersion: 3.6.20
assetPath: Packages/com.distantlands.cozy.core/Editor/UI/Cozy Hub/C#/CozyHub.cs
uploadId: 939148